package day01;

import java.util.Random;
import java.util.Scanner;

public class hello {
    public static void main(String[] args) {
       int num  = new Random().nextInt(100);
        System.out.println("num="+num);
        System.out.println("请输入一个一百内的整数");
        int n1 = new Scanner(System.in).nextInt();
//        for (int i = 0; i <3 ; i++) {
//            if(n1>num){
//                System.out.println("有点大 在小点");
//                if(i == 2){return;}
//                n1 = new Scanner(System.in).nextInt();
//            }else if(n1<num) {
//                System.out.println("有点小 在大点");
//                if(i == 2){return;}
//                n1 = new Scanner(System.in).nextInt();
//            }else{
//                System.out.println("恭喜你答对了");
//                return;
//            }
//        }
        int count=0;
        int sum  = ++count +3;
        while(count <=3){
            count++;//  ++count;
            System.out.println("你好");

        }

    }
}
